package com.zhongli.devplatform.po.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadVideo")
@Data
@TableName(value = "read_video")
public class ReadVideoPO {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 视频url
     */
    @TableField(value = "video_url")
    @ApiModelProperty(value="视频url")
    private String videoUrl;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    /**
     * 是否删除：0未删除，1已删除
     */
    @TableField(value = "is_delete")
    @ApiModelProperty(value="是否删除：0未删除，1已删除")
    private Boolean isDelete;

    /**
     * 学科id
     */
    @TableField(value = "subject_id")
    @ApiModelProperty(value="学科id")
    private Integer subjectId;

    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Integer createUserId;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;

    @TableField(value = "video_type")
    @ApiModelProperty(value="视频类型")
    private Integer videoType;

    @TableField(value = "resources_id")
    @ApiModelProperty(value="视频对应知识点/题目解析")
    private Integer resourcesId;

}
